package com.ge.modules.api.service.impl;

import com.ge.modules.api.service.TbHeadImgService;
import com.ge.modules.dao.TbHeadImgDao;
import com.ge.modules.entity.TbHeadImgEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class TbHeadImgServiceImpl implements TbHeadImgService {
	@Autowired
	private TbHeadImgDao headImgDao;
	
	@Override
	public TbHeadImgEntity queryObject(Integer id){
		return headImgDao.queryObject(id);
	}

	@Override
	public TbHeadImgEntity queryObject(TbHeadImgEntity headImg) {
		return headImgDao.queryObject(headImg);
	}

	@Override
	public List<TbHeadImgEntity> queryList(Map<String, Object> map){
		return headImgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return headImgDao.queryTotal(map);
	}
	
	@Override
	public void save(TbHeadImgEntity headImg){
		headImgDao.save(headImg);
	}
	
	@Override
	public void update(TbHeadImgEntity headImg){
		headImgDao.update(headImg);
	}
	
	@Override
	public void delete(Integer id){
		headImgDao.delete(id);
	}

	@Override
	public void delete(TbHeadImgEntity headImg) {
		headImgDao.delete(headImg);
	}

	@Override
	public void deleteBatch(Integer[] ids){
		headImgDao.deleteBatch(ids);
	}
	
}
